﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects.DataClasses;

namespace WA.Core.DomainModel
{
    [EdmEntityType(Name = "OutputInvoice", NamespaceName = "WA.Core.DomainModel")]
    public class OutputInvoice:Invoice
    {    
        private decimal? exportInvoiceAmount;
        private decimal? internalInvoiceAmount;
        private decimal? otherDeliveryInvoicesVatReleased;

        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable = false)]
        public decimal? ExportInvoiceAmount
        {
            get { return exportInvoiceAmount; }
            set
            {
                this.PropertyChanging("ExportInvoiceAmount");
                exportInvoiceAmount = value;
                this.PropertyChanged("ExportInvoiceAmount");
            }

        }

        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable = false)]
        public decimal? InternalInvoiceAmount
        {
            get { return internalInvoiceAmount; }
            set
            {
                this.PropertyChanging("InternalInvoiceAmount");
                internalInvoiceAmount = value;
                this.PropertyChanged("InternalInvoiceAmount");
            }

        }

        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable = false)]
        public decimal? OtherDeliveryInvoicesVatReleased
        {
            get { return otherDeliveryInvoicesVatReleased; }
            set
            {
                this.PropertyChanging("OtherDeliveryInvoicesVatReleased");
                otherDeliveryInvoicesVatReleased = value;
                this.PropertyChanged("OtherDeliveryInvoicesVatReleased");
            }

        }


    }
}
